﻿/* DotNetHoldem 
 * .Net Solution that allows to use OpenHoldem with .Net logic
 * Author: Óscar Andreu
 * oesido at gmail dot com
 * Licensed under GPLv3 - 2012
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace DotNetBotLogic.Classes
{
    [StructLayout(LayoutKind.Sequential)]
    public struct holdem_state
    {
        public string m_title;
        public double[] m_pot;
        public byte[] m_cards;
        public byte m_is_playing;
        public byte m_is_posting;
        public byte m_fillerbits;
        public byte m_fillerbyte;
        public byte m_dealer_chair;
        public holdem_player[] m_player;
    }
    /*struct holdem_state {
    char            m_title[64]         ;	//table title
    double          m_pot[10]           ;	//total in each pot

    unsigned char   m_cards[5]          ;	//common cards

    unsigned char   m_is_playing    : 1 ;	//0=sitting-out, 1=sitting-in
    unsigned char   m_is_posting    : 1 ;	//0=autopost-off, 1=autopost-on
    unsigned char   m_fillerbits    : 6 ;	//filler bits

    unsigned char   m_fillerbyte        ;	//filler byte
    unsigned char   m_dealer_chair      ;	//0-9

    holdem_player   m_player[10]        ;	//player records
    };
     */
}
